package com.cnswhy.cloud.server.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value="CustomerModifyPasswordDto",description="修改密码Dto")
public class CustomerModifyPasswordDto {

    private static final long serialVersionUID = 1L;

    /**
     * 手机号
     */
    @ApiModelProperty(name="mobile",value="手机号码", required = true)
    private String mobile;

    /**
     * 新密码
     */
    @ApiModelProperty(name="newPassword",value="新密码", required = true)
    private String newPassword;

    /**
     * 重复新密码
     */
    @ApiModelProperty(name="newPasswordRepeat",value="重复新密码", required = false)
    private String newPasswordRepeat;

    /**
     * 验证码
     */
    @ApiModelProperty(name="verifyCode",value="验证码", required = true)
    private String verifyCode;

    /**
     * 密码类型
     */
    @ApiModelProperty(name = "passwordType", value = "密码类型(1:登录密码 2:交易密码 默认1)", required = false)
    private String passwordType;
}
